const Mock = require('mockjs');
import CameraMockData from '@/mock/camera'
import LoginMockData from '@/mock/login'
//摄像头模拟数据
Mock.mock(/\/camera.*/, 'get', CameraMockData.cameraData);
//模拟用户信息
Mock.mock(/\/auth\/getUser.*/, 'get', LoginMockData.userData);
//模拟登录信息
Mock.mock(/\/auth\/login.*/, 'post', LoginMockData.loginData);